package com.asia5b.a5mall.middleware.model.order

import com.asia5b.a5mall.middleware.model.base.BaseModel
import com.asia5b.a5mall.middleware.model.shop.AbsGoodsModel
import java.io.Serializable

/**
 * Created by zhangyuncai on 2020/1/13.
 * 买家查看退款(货)详细
 */
class AftersaleDetail2Model : BaseModel() {
    var refund: AftersaleRefundDetailModel? = null
    var refund_goods: ArrayList<AbsGoodsModel>? = null

}
class AftersaleRefundDetailModel : BaseModel() {

    //订单编号
    var sn = ""


    //申请时间
    var create_time = 0L

    //售后类型
    var refuse_type_text = ""


    //售后状态
    var refund_status_text = ""


    //售后原因
    var refund_reason = ""


    //退款方式
    var account_type_text = ""


    //退款价格
    var refund_price = 0.0
    var refund_price_list: HashMap<String, Double>? = null

    //退款积分
    var refund_point = 0

    //详细描述
    var customer_remark = ""


    //refund_status=APPLY,申请退货状态
    var refund_status = ""


}
/*
{
"refund": {
    "id": 172,
    "sn": "191231103025",
    "member_id": 69,
    "member_name": "xiaoma",
    "seller_id": 64,
    "seller_name": "全广州最靓的店",
    "order_sn": "20191231000006",
    "refund_status": "COMPLETED",
    "create_time": 1577759425,
    "refund_price": 5142,
    "refund_point": null,
    "refund_way": "ORIGINAL",
    "account_type": null,
    "return_account": null,
    "customer_remark": "订单",
    "seller_remark": "",
    "warehouse_remark": null,
    "finance_remark": null,
    "refund_reason": "快递无记录",
    "refuse_reason": null,
    "bank_name": null,
    "bank_account_number": null,
    "bank_account_name": null,
    "bank_deposit_name": null,
    "trade_sn": null,
    "refund_type": "CANCEL_ORDER",
    "payment_type": "ONLINE",
    "refuse_type": "RETURN_MONEY",
    "pay_order_no": "2019123110000102626076",
    "refund_fail_reason": "",
    "refund_time": null,
    "refund_gift": null,
    "country_id": 12,
    "refund_status_text": "完成",
    "account_type_text": "原路退回",
    "refuse_type_text": "退款",
    "refund_type_text": "取消订单",
    "after_sale_operate_allowable": {
        "allow_cancel": false,
        "allow_apply": false,
        "allow_stock_in": false,
        "allow_admin_refund": false,
        "allow_seller_approval": false,
        "allow_seller_refund": false
    }
},
"refund_goods": [
    {
        "id": 178,
        "refund_sn": "191231103025",
        "goods_id": 8312,
        "sku_id": 24731,
        "ship_num": 2,
        "price": 21,
        "return_num": 2,
        "storage_num": null,
        "goods_sn": "000325",
        "goods_name": "库存商品第一次测试",
        "goods_image": "http:\/\/47.88.173.86:82\/testShopImg\/20
        "spec_json": "[{\"specType\":0,\"specImage\":\"\",\"specV
    }
]
}
 */